﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace LCA.Community.Web.Helpers
{
    public static class HtmlSubmitImageExtension
    {
        public static string SubmitImage(this HtmlHelper htmlHelper, string imageLink, string value, string altText)
        { 
            return string.Format("<input type='image' src='{0}' value='{1}' alt='{2}' />", imageLink, value, altText); 
        }
    }
}